<html lang="zh-cn">

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no, minimal-ui"/>
    <meta charset="UTF-8">
    <title>海闳电子科技</title>
    <link rel="stylesheet" type="text/css" href="../static/css/weui.css">
    <script src="../static/layui/layui.all.js"></script>
    <link rel="stylesheet" type="text/css" href="../static/css/layui.css" media="all">
</head>


<body>
<ul class="layui-nav" lay-filter="">
    <li class="layui-nav-item layui-this"><a href="/home">首页</a></li>
    <li class="layui-nav-item"><a href="/newband">添加设备</a></li>
    <li class="layui-nav-item"><a href="/airkiss">一键配网</a> </li>
{{/*    <li class="layui-nav-item"><a href="">历史信息</a></li>*/}}
</ul>

{{if .oAuthText}}
    {{str2html .oAuthText}}
{{end}}

{{if .errNoBandMsg}}
    {{str2html .errNoBandMsg}}
{{end}}
{{range $i, $elem := .GatewayInfoList}}
    <div class="weui-panel weui-panel_access">
        <a href="/deviceInfo?user_id={{$.Userid}}&gateway_id={{$elem.GatewayID}}" class="weui-media-box weui-media-box_appmsg">
        <div class="weui-media-box__hd">
        <img class="weui-media-box__thumb" src="../static/img/button.png" alt="">
        </div>
        <div class="weui-media-box__bd">
        <h4 class="weui-media-box__title">{{$elem.GatewayName}}</h4>
        <p class="weui-media-box__desc">{{$elem.GatewayID}}</p>
        </div>
        </a>
    </div>
{{end}}

</body>
</html>

